//
//  UserInfoModel.h
//  ShowYork
//
//  Created by hxh on 2020/8/27.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface UserInfoModel : NSObject<NSCoding>
@property (nonatomic,strong)NSNumber *id;
/// 用户Id
@property (nonatomic,strong)NSString *userUuid;
/// 用户token
@property (nonatomic,copy)NSString *userToken;
/// 微信用户id
@property (nonatomic,copy)NSString *wxOpenId;
/// qq用户id
@property (nonatomic,copy)NSString *qqOpenId;
/// 用户名
@property (nonatomic,strong)NSString *userName;
/// 用户密码
@property (nonatomic,strong)NSString *password;
/// 真实姓名
@property (nonatomic,strong)NSString *realName;
/// 年龄
@property (nonatomic,strong)NSNumber *age;
/// 性别1男2女
@property (nonatomic,strong)NSNumber *sex;
/// 用户生日
@property (nonatomic,strong)NSNumber * birthDay;
///  年级
@property (nonatomic,strong)NSNumber *userLevel;
/// 手机号
@property (nonatomic,strong)NSString *phone;
/// 学校
@property (nonatomic,strong)NSString *school;
/// 身份 1学生 2老师 3管理
@property (nonatomic,strong)NSNumber *role;
/// 1.启用 2禁用
@property (nonatomic,strong)NSNumber *status;
/// 头像地址
@property (nonatomic,strong)NSString *imagePath;
/// 创建时间
@property (nonatomic,strong)NSNumber *createTime;
/// 个性签名
@property (nonatomic,copy)NSString *userSign;
// 补充自定义参数
@property (nonatomic,strong)NSString *levelStr;

- (void)save;
+ (void)deleteUserInfo;
+ (UserInfoModel *)userInfo;

@end

NS_ASSUME_NONNULL_END
